package com.hjp.designmode.strategy.domain.impl;

import com.hjp.designmode.strategy.domain.Goods;

import java.util.List;

/**
 * @Description: 订单
 * @Author: huangjp6
 * @Date: 2022/3/7 14:37
 */
public class Order {

    /**
     * 最终价格
     */
    private double totalPrice;
    private List<Goods> goodsList;

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public Order() {
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }
}
